package rack.lite.utils

/**
 *
 * @author atila
 */
class DbManager {

   private static String dir = "data/"

   def static getTable(String table) {
      def d = new File(dir)
      if (!d.exists()) {
         d.mkdir()
      }
      def f = new File(dir + table)
      if (!f.exists()) {
         f.createNewFile()
      }
      return f
   }
}

